package com.mrjy.maintain.bo;

import javax.servlet.http.HttpServletResponse;
import javax.servlet.http.HttpSession;

import com.mrjy.common.entity.PartnerInfo;
import com.mrjy.maintain.dto.PartnerInfoDTO;

public interface IPartnerInfoBo {

	//添加合作方
	public Object txInsert(PartnerInfoDTO partnerInfo, HttpSession session);
	
	//根据id查询
	public Object queryByUserId(int userId);
	
	//根据id更新
	public Object txUpdateById(PartnerInfoDTO partnerInfo, HttpSession session);
	
	//根据id删除合作方
	public int txDeleteByIds(int[] ids);
	
	//根据id禁用、启用合作方
	public Object txUpdateDisableFlag(PartnerInfo partnerInfo, HttpSession session);

	public Object queryListPage(PartnerInfoDTO dto, HttpSession session);

	public Object txCheckPartnerInfoStatusExpired();

	public Object queryPageDistTeam(PartnerInfoDTO partnerInfo);

	public Object exportExl(PartnerInfoDTO dto, HttpServletResponse response, HttpSession session);
	
	
}
